<!-- Begin issues/sla.tpl -->
{opentable}
<tr align="center" class="sectiontableheader">
	<td width="20%"></td>
	<td width="20%"></td>
	<td width="10%">{$lg->sev1}</td>
	<td width="10%">{$lg->sev2}</td>
	<td width="10%">{$lg->sev3}</td>
	<td width="10%">{$lg->sev4}</td>
	<td width="10%">{$lg->total}</td>
</tr>
{if is_array($t_stats) }
{foreach from=$t_stats key=month item=t_group}
	<tr align="center" class="sectiontableentry2">
		<td colspan = 7 align="left"><b>{$lg->perio} {$month}</b></td>
	</tr>
	{foreach from=$t_group key=gid item=s_stats}
	<tr align="center" class="sectiontableentry1">
		<td width="10%">{groupname id=$gid}</td>
		<td>{$rlg->persev}</td>
		<td >{$s_stats.sev4.numb}</td>
		<td >{$s_stats.sev3.numb}</td>
		<td >{$s_stats.sev2.numb}</td>
		<td >{$s_stats.sev1.numb}</td>
		<td >{$s_stats.numb}</td>		
	</tr>
	<tr align="center" class="sectiontableentry1">
		<td width="10%"></td>
		<td>{$rlg->sla_dpec}</td>
		<td >{$s_stats.sev4.slarl_dpec}</td>
		<td >{$s_stats.sev3.slarl_dpec}</td>
		<td >{$s_stats.sev2.slarl_dpec}</td>
		<td >{$s_stats.sev1.slarl_dpec}</td>
		<td ></td>		
	</tr>	
	<tr align="center" class="sectiontableentry1">
		<td width="10%"></td>
		<td>{$rlg->sla_dpec_ratio}</td>
		<td bgcolor ="{$s_stats.sev4.color}" >{$s_stats.sev4.ratio|string_format:"%.0f"}</td>
		<td bgcolor ="{$s_stats.sev3.color}" >{$s_stats.sev3.ratio|string_format:"%.0f"}</td>
		<td bgcolor ="{$s_stats.sev2.color}" >{$s_stats.sev2.ratio|string_format:"%.0f"}</td>
		<td bgcolor ="{$s_stats.sev1.color}" >{$s_stats.sev1.ratio|string_format:"%.0f"}</td>
		<td bgcolor ="{$s_stats.cdpec}" >{$s_stats.tdpec|string_format:"%.0f"}</td>		
	</tr>
	<tr align="center" class="sectiontableentry1">
		<td width="10%"></td>
		<td>{$rlg->dpec_avg}</td>
		<td >{$s_stats.sev4.avrg|string_format:"%.0f"}</td>
		<td >{$s_stats.sev3.avrg|string_format:"%.0f"}</td>
		<td >{$s_stats.sev2.avrg|string_format:"%.0f"}</td>
		<td >{$s_stats.sev1.avrg|string_format:"%.0f"}</td>
		<td >{$s_stats.dpec|string_format:"%.0f"}</td>		
	</tr>		
	{/foreach}
{/foreach}
{/if}
{closetable}
<!-- End issues/sla.tpl -->